package org.NooLab.openNLP.app;

import org.NooLab.openNLP.storage.FileOrganizer;





public class PersistenceSettings {

	LinguistProperties lpProperties;
	
	private String projectName;
	private FileOrganizer fileOrganizer;
	private String pathToSomFluidSystemRootDir;
	private String appNameShortStr;

	
	// ========================================================================
	public PersistenceSettings(LinguistProperties lpProps, FileOrganizer fileOrg) {
		
		lpProperties = lpProps;
		fileOrganizer = fileOrg;
	}
	// ========================================================================
	
	
	public void setProjectName(String prjname) {
		
		projectName = prjname;
		fileOrganizer.update();

	}

	public void setAppNameShortStr(String str) {
		// 
		appNameShortStr = str;
	}

	public void setPathToSomFluidSystemRootDir(String systemRootDir) {
		// 
		this.pathToSomFluidSystemRootDir = systemRootDir;
		fileOrganizer.update();
		
	}


	public String getPathToSomFluidSystemRootDir() {
		// 
		return pathToSomFluidSystemRootDir;
	}


	public String getProjectName() {
		// 
		return projectName;
	}

}
